package online.heycm.rbac.domain.user.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Collection;
import online.heycm.rbac.domain.user.repository.entity.UserRole;
import org.apache.ibatis.annotations.Param;

/**
 * @author heycm
 * @since 2024/1/14 15:16
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    int saveBatch(@Param("userRoles") Collection<UserRole> userRoles);
}
